package com.chinacoal.microservice.api.model.mobile;

import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="即时通讯参数",description="即时通讯参数")
public class IMParam {

	@ApiModelProperty(value ="业务类型", example="1-待办；2-公告；3-新闻；4-考勤；5-工作报告；6-邮件；7-会议通知；8-申请；9-文档通知", required=true)
	private String cmdID;
	
	@ApiModelProperty(value ="跳转url", example="", required=false)
	private String url;
	
	@ApiModelProperty(value ="标题", example="App在页面上显示", required=false)
	private String title;
	
	@ApiModelProperty(value ="标题", example="沟通页面上cell界面显示", required=true)
	private String subTitle;
	
	@ApiModelProperty(value ="标题", example="列表页面的cell上显示", required=false)
	private String contTitle;
	
	@ApiModelProperty(value ="概述", example="进入列表页面后cell界面显示", required=false)
	private String summary;
	
	@ApiModelProperty(value ="发送时间", example="", required=true)
	private String sendTime;
	
	@ApiModelProperty(value ="发送人用户账号", example="APP用户账号", required=false)
	private String sender;
	
	@ApiModelProperty(value ="接收人列表", example="为空则全体推送（APP用户账号）", required=true)
	private List<String> receiver;
}